package com.sc.model;

import org.beetl.sql.core.annotatoin.Table;

import com.sc.model.base.BaseModel;

/**
 * 
 * 商品
 * 
 * @author chenhao
 *
 */
@Table(name = "product")
public class Product extends BaseModel {

	private static final long serialVersionUID = 1L;
	
	public String id;
	public String title;// 标题
	public double price;// 单价
	public String color;// 颜色
	public String size;// 尺码
	public int stock;// 库存
	public String url;// 图片
	
	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public double getPrice() {
		return price;
	}

	public void setPrice(double price) {
		this.price = price;
	}

	public String getColor() {
		return color;
	}

	public void setColor(String color) {
		this.color = color;
	}

	public String getSize() {
		return size;
	}

	public void setSize(String size) {
		this.size = size;
	}

	public int getStock() {
		return stock;
	}

	public void setStock(int stock) {
		this.stock = stock;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

}
